import request from '@/utils/request'



/**
 * 登录
 * @returns {*}
 */
export function login(data) {
    return request.post('/account/login', data)
}

/**
 * 换取用户用户登录
 * @returns {*}
 */
export function ResetToken(data) {
    return request.post('/account/ResetToken', data)
}

export function logout() {
    return request.post("/account/Logout", {});
}